package com.yhm.testSpringMvc.myAnotation;

@YhmLogAnotation(desc = "类描述",logMethod = "",privator = 999)
public class MyAnotationTest {
    @YhmLogAnotation(desc = "name属性注解",logMethod = "name属性",privator = 997)
    private String name ;
    private int age;

    @YhmLogAnotation(desc = "方法注解",privator = 998,logMethod = "toString")
    public String toString(){
        return name + "_" + age;
    }

    @YhmLogAnotation(desc = "setName注解",privator = 996,logMethod = "setName方法logMethod")
    public void setName(String name){
        this.name = name;
    }
    @YhmLogAnotation(desc = "MyAnotationTest构造方法注解",privator = 995,logMethod = "MyAnotationTest构造方法注解logMethod")
    public MyAnotationTest(){
    }
}
